effectsNamesGeneral(nloc = 2, max.level=NULL, max.dom=NULL)
effectsNamesMultilinear(nloc=2, max.level=2, max.dom=2)
statusMaxLevel(effect, max.level=NULL)
statusMaxDom(effect, max.dom=NULL)
effectsSelect(nloc, max.level=NULL, max.dom=NULL, effects=NULL)
effNames(effects=NULL, loci=NULL, nloc=1)effectsNames. The first element of the vector is the code for
the absence of effect (default: "."). The three other elements are
respectively additive effects (default: "a") dominance effects
(default: "d"), and multilinear epistatic effects (default:
"e").
The names of genetic effects contains as many characters as the number of
loci in the system. The additive effect of the first locus in a 3-locus
system will be "a..", and the "Dominance by Dominance" between loci 2
and 4 in a 5-locus system will be ".d.d.". Directionality of epistasis
between two (or more) loci is indicated by as many "e" as necessary
(e.g. ".ee." for the interaction between loci 2 and 3 in a 4-locus
case). effectsNamesGeneral and effectsNamesMultilinear provide
a list of the names of the genetic effects, in the correct order to be
processed in the NOIA framework (Alvarez-Castro and Carlborg 2007).
effectsSelect returns a vector of effects matching the maximum levels.
statusMaxLevel and statusMaxDom return TRUE if a given
effect is under the level and dominance threshold, respectively.
effNames is a low-level routine, called by the other functions. It
provides names "on demand", for instance effNames(c("a","d"),c(2,4),5)
will generate ".a.d.", i.e. an "a" at locus 2 and a "d"
at locus 4, in a set of 5 loci.
geneticEffects, genNames,
linearRegression, multilinearRegression.effectsNamesGeneral(3)
effectsSelect(nloc=3, max.level=1)Run the code above in your browser using DataLab